package com.qiwenshare.common.util;

import org.springframework.core.env.Environment;
 
public class PropertiesUtil {
 
	private static Environment env = null;
	
	public static void setEnvironment(Environment env) {
		PropertiesUtil.env = env;
	}
	
	public static String getProperty(String key) {
		return PropertiesUtil.env.getProperty(key);
	}
	
	
}